body {
    > .box {
        width: 1000px;
        height: 60px;
        margin: 30px auto;
        display: flex;
        justify-content: space-between;
        a {
            &:nth-child(2) {
                .smallBox {
                    background-color: rgba(0, 204, 204, 1);
                    .logo {
                        background-image: url(../dximages/主页/u279.svg);
                    }
                }
            }
            &:nth-child(3) {
                .smallBox {
                    background-color: rgba(0, 102, 204, 1);
                    .logo {
                        background-image: url(../dximages/主页/u270.svg);
                    }
                }
            }
            &:nth-child(4) {
                .smallBox {
                    background-color: rgba(0, 204, 255, 1);
                    .logo {
                        background-image: url(../dximages/主页/u273.svg);
                    }
                }
            }
            &:nth-child(5) {
                .smallBox {
                    background-color: rgba(0, 153, 204, 1);
                    .logo {
                        background-image: url(../dximages/主页/u282.svg);
                    }
                }
            }
            .smallBox {
                width: 180px;
                height: 60px;
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                background-color: rgba(0, 153, 51, 1);
                border-radius: 10px;

                > span {
                    font-size: 16px;
                    color: white;
                }
                .logo {
                    background-image: url(../dximages/主页/u276.svg);
                    width: 25px;
                    height: 25px;
                    background-repeat: no-repeat;
                    background-size: contain;
                    background-position: center;
                }
            }
        }
    }

    main {
        width: 1000px;
        background-color: white;
        display: flex;
        margin: 0px auto;
        flex-direction: column;
        > nav {
            width: 100%;
            display: flex;

            justify-content: space-between;
            height: 50px;
            border-bottom: 1px solid rgba(242, 242, 242, 1);
            .left {
                width: 600px;
                display: flex;
                height: 100%;
                align-items: center;
                justify-content: space-evenly;
                a {
                    display: inline-block;
                    width: 200px;
                    height: 100%;
                    text-align: center;
                    line-height: 50px;
                    font-size: 16px;
                    color: #999999;
                }
                >.active {
                    color: blue;
                }
                .off {
                    color: #999999;
                }
            }
            .right {
                width: 120px;
                height: 50px;
                display: flex;
                align-items: center;
                justify-content: space-evenly;
                .logo {
                    background-image: url(../dximages/主页/top.png);
                    width: 40px;
                    height: 40px;
                    background-repeat: no-repeat;
                    background-size: contain;
                    background-position: center;
                }
                span {
                    color: #333;
                    font-size: 13px;
                }
            }
        }
        > .tab {
            display: flex;
            flex-direction: column;
            width: 900px;
            margin: 25px auto;

            .tabtop {
                background-color: rgba(0, 153, 255, 1);
                width: 100%;
                height: 150px;
                font-size: 20px;
                color: #ffffff;
                display: flex;
                justify-content: space-between;
                padding: 10px 20px;
                > .left {
                    width: 500px;
                    height: 100%;
                    display: flex;
                    justify-content: space-around;
                    flex-direction: column;
                    > .left-top {
                        width: 100%;
                        height: 30px;
                    }
                    > .left-bot {
                        width: 100%;
                        display: flex;
                        > .box {
                            width: 100px;
                            height: 50px;
                            display: flex;
                            flex-direction: column;
                            margin-right: 60px;
                            span {
                                font-size: 24px;
                            }
                            p {
                                font-size: 16px;
                            }
                        }
                    }
                }
                > .right {
                    display: flex;
                    justify-content: space-around;
                    flex-direction: column;
                    width: 300px;
                    .right-top {
                        width: 100%;
                        height: 50px;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding-left: 20px;
                        padding-right: 20px;
                        background-color: rgba(0, 102, 204, 1);
                        > span {
                            color: white;
                            font-size: 13px;
                        }
                        > label {
                            background-image: url(../dximages/主页/u270.svg);
                            width: 30px;
                            height: 30px;
                            background-repeat: no-repeat;
                            background-size: contain;
                            background-position: center;
                        }
                    }
                    .right-bot {
                        width: 100%;
                        display: flex;
                        justify-content: space-around;
                        > span {
                            display: inline-block;
                            text-align: center;
                            line-height: 30px;
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            border: 1px solid white;
                            font-size: 16px;
                            position: relative;
                            > img {
                                position: absolute;
                                bottom: 0px;
                                right: -5px;
                                display: none;
                            }
                        }
                    }
                }
            }
            .tabbottom {
                display: flex;
                flex-direction: column;
                margin-top: 10px;
                .line {
                    margin-top: 10px;
                    width: 100%;
                    height: 50px;
                    background-color: rgb(240, 233, 233);
                    font-size: 18px;
                    padding-left: 20px;
                    padding-right: 20px;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    span {
                        color: #333;
                    }
                    select {
                        outline: none;
                        border-radius: 5px;
                        width: 100px;
                        height: 30px;
                        background-color: rgba(0, 153, 51, 1);

                        box-shadow: none;
                        font-size: 14px;
                        color: #ffffff;
                        option {
                            background-color: rgb(221, 218, 218);
                            color: #666;
                        }
                    }
                }
                a {
                    .line {
                        .left {
                            font-size: 14px;
                            display: flex;

                            p {
                                color: red;
                            }
                        }
                        .right {
                            color: #999;
                            font-size: 14px;
                        }
                    }
                }
                > button {
                    width: 150px;
                    height: 40px;
                    margin: 30px auto;
                    background-color: white;
                    color: #666;
                    border: 1px solid rgb(209, 209, 209);
                    border-radius: 5px;
                    &:hover {
                        background-color: gray;
                        color: white;
                    }
                }
            }
        }
        #tab2,
        #tab3 {
            display: none;
        }
        #tab2,#tab3 {
            flex-direction: row;
            justify-content: space-between;
            .tab2-left {
                width: 660px;
                .examTi {
                    padding: 0 25px;
                    display: none;
                    > dl {
                        > dt {
                            margin: 22px 0;
                            font-size: 16px;
                            color: #333333;
                            font-weight: normal;
                        }
                        > dd {
                            font-size: 14px;
                            margin-bottom: 25px;
                            > span {
                                &:nth-child(1) {
                                    width: 35px;
                                    height: 35px;
                                    border-radius: 50%;
                                    background-color: #f2f2f2;
                                    display: inline-block;
                                    line-height: 35px;
                                    text-align: center;
                                    margin-right: 12px;
                                }
                            }
                        }
                        > .activeErr {
                            color: #ff0000;
                            > span:nth-child(1) {
                                color: #fff;
                                background-color: #ff0000;
                            }
                        }
                        > .activeYes {
                            color: #009900;
                            > span:nth-child(1) {
                                color: #fff;
                                background-color: #009900;
                            }
                        }
                    }
                    > .buttonbox {
                        width: 100%;
                        height: 50px;
                        display: flex;
                        > button {
                            margin-right: 30px;
                            width: 100px;
                            height: 30px;
                            background-color: blue;
                            color: white;
                            font-size: 15px;
                            border: 0px;
                        }
                        .del{
                            background-color: grey;
                        }
                    }
                    > .keyanswer {
                        border: 1px solid rgba(242, 242, 242, 1);
                        padding: 0 15px;
                        > p {
                            font-size: 14px;
                            display: flex;
                            padding: 12px 0;
                            margin-bottom: 0;
                            position: relative;
                            > span.corG {
                                color: #009900 !important;
                            }
                            > span.col9 {
                                color: #999 !important;
                            }
                            > span {
                                &:nth-child(1) {
                                    color: #999;
                                    margin-right: 10px;
                                }
                                &:nth-child(2) {
                                    color: #ff0000;
                                    margin-right: 20px;
                                }
                            }
                            > .isCorrect {
                                width: 25px;
                                height: 25px;
                                position: absolute;
                                left: 97px;
                                top: 15px;
                                color: #ff0000;
                                font-size: 36px;
                                background-image: url(../tcyimages/u628.svg);
                                background-position: 0 0;
                                background-size: 100% 100%;
                            }
                            .isYes {
                                background-image: url(../tcyimages/u651.svg);
                            }
                        }
                    }
                }
                .show{
                    display: inline-block;
                }
            }
            .tab2-right {
                width: 300px;
                height: 500px;
                float: right;
                border: 1px solid rgba(242, 242, 242, 1);
                box-shadow: gray 4px 4px 3px;
                > .top {
                    width: 100%;
                    color: rgb(161, 161, 161);
                    font-size: 15px;
                    display: flex;
                    justify-content: space-between;

                    border-bottom: 1px solid rgb(180, 177, 177);
                    > span {
                        margin-left: 10px;
                        line-height: 50px;
                    }
                    > p {
                        margin-right: 10px;
                        line-height: 50px;
                    }
                }
                > .center {
                    width: 100%;
                    padding: 10px;
                    display: flex;
                    align-items: flex-start;
                    flex-wrap: wrap;
                    .box {
                        margin-right: 10px;
                        margin-top: 10px;
                        width: 40px;
                        height: 40px;
                        background-color: #f2f2f2;
                        color: #333;
                        text-align: center;
                        line-height: 40px;
                    }
                    > .active {
                        background-color: #ccc;
                    }
                }
                > .foot {
                    width: 100%;
                    margin-top: 50px;
                    margin-bottom: 10px;
                    padding: 10px;
                    font-size: 14px;
                    span{
                        margin-right: 10px;
                    }

                }
            }
        }
    }
}
